package com.bootdo.news.dao;

import com.bootdo.news.domain.NewsContentDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 文章内容
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2017-10-03 16:17:48
 */
@Mapper
public interface NewsContentDao {

	NewsContentDO get(Integer cid);
	
	List<NewsContentDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(NewsContentDO content);
	
	int update(NewsContentDO content);
	
	int remove(Long cid);
	
	int batchRemove(Long[] cids);
}
